﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using ZJGIS.Framework;
using ESRI.ArcGIS.esriSystem;

namespace ZJGIS.Framework.Controls
{
    public partial class PropertyGridPanel : UserControl, IDockableWindow
    {
        public PropertyGridPanel()
        {
            InitializeComponent();
        }
        #region IDockableWindow Members
        string IDockableWindow.Caption
        {
            get
            {
                return "属性控件";
            }
            set
            {
                ;
            }
        }

        string IDockableWindow.Name
        {
            get
            {
                return "PropertyGridPanel";
            }
        }


        esriDockFlags IDockableWindow.DockFlags
        {
            get
            {
                return esriDockFlags.esriDockShow;
            }
            set
            {
                ;
            }
        }

        UID IDockableWindow.ID
        {
            get
            {
                return null;
            }
        }

        public bool IsVisible()
        {
            return true;
        }

        object IDockableWindow.UserData
        {
            get { return this.m_PropertyGrid; }
        }

        #endregion
    }
}
